package com.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.mapper.Mapper;

import com.example.domain.entity.Params;
import com.example.domain.entity.Reserve;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;


import java.util.List;

@Repository
public interface ReserveMapper extends BaseMapper<Reserve> {

    List<Reserve> findBySearch(@Param("params") Params params);
}
